package com.hellogood.yaohuo.shared.services;

import java.util.List;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.hellogood.yaohuo.shared.entity.Vendor;

@RemoteServiceRelativePath("VendorService")
public interface VendorService extends RemoteService{
	public static class Util {
		private static VendorServiceAsync instance;

		public static VendorServiceAsync getInstance() {
			if (instance == null) {
				instance = GWT.create(VendorService.class);
			}
			return instance;
		}
	}
	
	public List<Vendor> getAllVendorList();
}
